package cn.stylefeng.guns.modular.staff.pojo.request;

import cn.stylefeng.roses.kernel.rule.pojo.request.BaseRequest;
import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import java.util.Date;

/**
 * 封装类
 *
 * @author xbz
 * @date 2023/03/31 10:23
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class StaffRequest extends BaseRequest {

    /**
     * 员工id
     */
    @NotNull(message = "员工id不能为空", groups = {edit.class, delete.class})
    @ChineseDescription("员工id")
    private Integer id;

    /**
     * 员工姓名
     */
    @ChineseDescription("员工姓名")
    private String name;

    /**
     * 员工性别
     */
    @ChineseDescription("员工性别")
    private String sex;

    /**
     * 员工生日
     */
    @ChineseDescription("员工生日")
	private String birthday;

    /**
     * 创建时间
     */
    @ChineseDescription("创建时间")
	private String ctime;

}
